For developers¶
Adding a new feature/fixing a bug¶
SilQ is meant to be a collaborative software, and so users are encouraged to
contribute any features and fixes for encountered bugs.
To submit any new features/bugfixes, a Pull Request should be created.
This creates a proposed enhancement that can be pulled
into the master
branch.
The general procedure is as follows:
Start from the
master
branch without any modificationsCreate a new branch, called
feature/{branch_name}
, orfix/{branch_name}
, where{branch_name}
should be a short clear name.Implement the changes.
Push the changes to GitHub.
Create a Pull Request from your branch to the
master
branch. This can be done on the GitHub website. Be sure to give a clear description of the contents of the Pull Request
Once your pull request is submitted, other developers can review the proposed changes, and accept/reject/ask for modifications.
Updating the GitHub documentation website¶
The documentation for SilQ is hosted on GitHub, and uses the source code in
the SilQ gh-pages
branch.
To upload any documentation changes to the website, follow these steps.
Go to the
master
branchIn a terminal, navigate to
SilQ/documentation
Execute
make html
, which should create a folderSilQ-documentation
next the the main SilQ folder containing the website. The fileSilQ-documentation/html/index.html
is the root webpage.Execute
make gh-pages
. This command will switch to thegh-pages
branch, copy all the html code fromSilQ-documentation
, commit and push all the changes, and return to themaster
branch.
After these steps, the website should have updated.